package com.dubbo.order.order_provider_sx.dao;

import javax.annotation.Resource;

import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;

@Repository
public class OrderDaoImpl implements OrderDao{
	
	@Resource 
	JdbcTemplate orderJdbcTemplate;
	
	public void insertOrder() {
		String sql="insert order(status,price,order_time) values(1,10,now())";
		orderJdbcTemplate.execute(sql);
	}

}
